{css href="/static/index/css/style.css" /}
{layout name="layout"}
<div class="content">
    <!--    大图-->
    <div class="index_top_index">
    </div>
    {include file='public/nav'}
    <!--    nav-->
    <div class="container">
        <div class="heading" style="text-align: center"><span>{$article.article_name}</span></div>
        <br><br>
        <div class="row">
            <div class="col-md-1"></div>
            <div class="col-md-3">发布时间: {$article.article_create_time} </div>
            <div class="col-md-1"></div>
            <div class="col-md-3">所属分类: {$article.class_name} </div>
            <div class="col-md-1"></div>
            <div class="col-md-3"><a href="/list/{$article.article_class}" style="color: #0F769F; border: 1px grey solid; border-radius: 3px; padding: 8px">更多精彩</a></div>
        </div>
        <br><br>
<!--        TODO 暂时直接输出型 后期ajax-->
        <span id="bindArticleId" data-article="{$article.article_id}"></span>
        <div id="articleContent"></div>
        <div class="row control_page" style="text-align: center">
            <div style="margin: 10px auto">
                <a href="/details/{$last.article_id}">
                    上一篇: {$last.article_name}
                </a> &nbsp;

                <a href="/details/{$next.article_id}">下一篇: {$next.article_name}</a>
            </div>
        </div>
    </div>
</div>

{include file="public/totop"}
<br><br><br><br><br><br><br>